package activity;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.JAXBContext;

@XmlRootElement(name = "ticket")

@XmlType(propOrder = {"ticketID", "tk_name", "tk_description", "tk_price", "tk_amount"})
public class Ticket implements Serializable
{
	@XmlElement(name = "ticketInfo")
	private int ticketID;
	private String tk_name;
	private String tk_description;
	private double tk_price;
	private int tk_amount;
	
	
	public int getTicketID()
	{
		return ticketID;
	}
	
	public void setTicketID(int ticketID)
	{
		this.ticketID = ticketID;
	}
	
	public String getTicketName()
	{
		return tk_name;
	}
	
	public void setTicketName(String tk_name)
	{
		this.tk_name = tk_name;
	}
	
	public String getTicketDesc()
	{
		return tk_description;
	}
	
	public void setTicketDesc(String tk_description)
	{
		this.tk_description = tk_description;
	}
	
	public double getTicketPrice()
	{
		return tk_price;
	}
	
	public void setTicketPrice(double tk_price)
	{
		this.tk_price = tk_price;
	}
	
	public int getAmount()
	{
		return tk_amount;
	}
	
	public void setAmount(int tk_amount)
	{
		this.tk_amount = tk_amount;
	}
	
}
